package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.SchedulerJobDao;
import com.seaboxdata.entity.SchedulerJob;
import com.seaboxdata.service.SchedulerJobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @author
 * @create 2021-02-08 18:22
 **/

@Service("schedulerJobService")
public class SchedulerJobServiceImpl extends ServiceImpl<SchedulerJobDao,SchedulerJob> implements SchedulerJobService {

    @Autowired
    private SchedulerJobDao schedulerJobDao;

    @Override
    public List<SchedulerJob> getAllSchedulerJob(Date date, Date endDate) {
        return schedulerJobDao.getAllSchedulerJob(date,endDate);
    }

}
